package com.bw.home.adapter


import android.util.Log
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.blankj.utilcode.util.ToastUtils
import com.bw.home.R
import com.bw.home.entity.CementEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import kotlin.math.max


class HomeCementAdapter :
    BaseQuickAdapter<CementEntity, BaseViewHolder>(R.layout.home_notice_item) {

    override fun convert(holder: BaseViewHolder, item: CementEntity) {
        holder.setText(R.id.notice_title, item.title)
        holder.setText(R.id.notice_content, item.content)
        holder.setText(R.id.notice_time, item.publishTime)
    }



}